home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
pctj8502.arc
/
WINDEMO.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1986-09-14
|
1KB
|
49 lines
{ Demonstration program for removable window package }
{ --- Insert code from Listing 4 here --- }
var i: integer;
begin
initwin;
writeln('Now and every time the action stops,');
writeln('press ENTER to continue.');
readln;
clrscr;
for i:=1 to 25 do writeln(' This is the original screen.');
mkwin(3,3,50,18);
for i:=1 to 15 do writeln('This is the first window...');
readln;
mkwin(10,5,70,20);
for i:=1 to 15 do writeln('Second window...');
readln;
mkwin(15,15,45,23);
writeln('Third window...');
readln;
mkwin(55,10,79,25);
writeln('Fourth window...');
readln;
rmwin; { Remove fourth window }
readln;
rmwin; { Remove third window }
writeln;
writeln('We are back in the second window...');
readln;
rmwin; { Remove second window }
writeln;
writeln('This is the first window again!');
readln;
rmwin; { Remove first window }
readln
end.